@{
    ViewBag.Title = "添加事件通知设置";
    }
@section head{
   
   <script type="text/javascript">
       $(document).ready(function () {
           $('.btnSubmit').click(function () {
               ajax_submit('#content', undefined, function (r) {
                   if (r.success) {
                       EasyuiForm.clear('#content');
                       EasyuiForm.validate('#content');
                   }
               });
           });
       });
   </script>
}
@section body{
<body>
   <div class="easyui-layout" data-options="fit:true">
        <div data-options="region:'north',border:false">
            <div class="navigation">
                <div class="left">
                   @ViewBag.CurrentPath 添加
                </div>
                <a href="javascript:CloseMe();" class="back">后退</a>
            </div>
            <div class="expand_margin"></div>
        </div> 
        <div id='content' data-options="region:'center',border:false" >
             <div class="easyui-tabs" data-options="plain:true,border:false,fit:true">
                <div title="编辑事件通知信息">  
                    <table class="form_table">
                        <col width="180px"/>
                        <tbody>
                            <tr>
                                <th>编号：</th>
                                <td><input type="text" name="EventCode" class="easyui-validatebox imedisable" data-options="required:true,validType:['length[1,32]','Account']" /></td>
                            </tr>
                            <tr>
                                <th>名称：</th>
                                <td><input type="text" name="EventName" class="easyui-validatebox" data-options="required:true,validType:['length[1,64]']"  /></td>
                            </tr>
                            <tr>
                               <th></th>
                               <td>
                                  <input type="submit" value="提交保存"  class="btnSubmit" />
                               </td>
                            </tr>
                        </tbody>
                    </table>
                </div>          
            </div>
        </div>
    </div>
</body>
}
